git 未能顺利结束 (退出码 128) 和 protocol error: bad line length character错误解决 |
您所在的位置:网站首页 › protocol error:bad line › git 未能顺利结束 (退出码 128) 和 protocol error: bad line length character错误解决 |
由于用的前同事的电脑 protocol error: bad line length character: fatal: the remote end hung up unexpectedly error: failed to push some refs to 'http://xxxxx。com:3000/archtreat/monitoring_platform_v2.git' protocol error: bad line length character: fatal: the remote end hung up unexpectedly error: failed to push some refs to 'http://123.57.241.120:3000/archtreat/monitoring_platform_v2.git' E:\work\monitoring_platform_v2>git push -f origin master 通过以下方法,发现根本没有效果如果你不知道现在本地Git用的帐号是什么,你可以输入 git config user.name 1 查看用户名 git config user.email 1 查看用户邮箱 修改用户名和邮箱的命令 git config --global user.name "Your_username" git config --global user.email "Your_email" --------------------- 折腾一番 无果 各种问题 仍然为解决???我查看 用户和email 都是我自己的,但是我发现至始至终 都没让我输入 我自己的账号对应凭证 或者 用ssh 方式 发现 输入正确的密码 却说我不正确 ,于是想起 可能在远端 仍然 把我认为是 老用户 ,一查询 果然 后来通过下面方法解决删除: 老同事的权限凭证还在, 一定要确保删干净 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |